home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 25
/
Aminet 25 (1998)(GTI - Schatztruhe)[!][Jun 1998].iso
/
Aminet
/
comm
/
misc
/
MiamiLog2.readme
< prev
next >
Wrap
Text File
|
1998-05-05
|
4KB
|
86 lines
Short: Nice&simple Miami phone log parser w/src
Author: thorgal@amiga.com.pl
Uploader: thorgal@amiga.com.pl
Type: comm/misc
Some time ago I hacked this simple flex parser to calculate my phone-bill
value from the logfile generated by Miami. A few of my friends liked it
and seem to use it frequently, so I decided to release it in the hope that
there may be more persons preferring simplicity over baroqueness of other
log-analyzers. As for the source, let's say it's freeware.
Things that have changed from previous release:
- pulse calculations were off by 20 seconds - fixed.
- daily time is displayed next to pulses.
Usage:
MiamiLog <Miami:phone.log
and the output looks like this:
---------------------------------------------------------------------
day 01: ######### (00:23:05)
day 02: ############ (00:29:23)
day 03: ############ (00:29:58)
day 04: ########### (00:25:04)
day 05: ####################### (01:01:54)
day 06: ############################## (01:24:46)
day 07: ################### (00:55:09)
day 08: ########################################## (01:59:17)
day 09: #### (00:07:22)
day 10: ################# (00:47:31)
day 11: ###################### (00:54:45)
day 12: #### (00:09:11)
day 13: ########### (00:25:27)
day 14: ######################### (01:09:23)
day 15: ######################## (01:05:20)
day 16: ################ (00:41:29)
day 17: ######### (00:19:44)
day 18: ###### (00:16:20)
day 19: ####### (00:17:30)
day 20: ################## (00:48:16)
day 21: ##### (00:11:57)
day 22: ###################### (01:01:31)
day 23: (00:00:00)
day 24: (00:00:00)
day 25: ######## (00:22:46)
day 26: ######################################## (01:51:53)
day 27: ### (00:05:14)
Last connection: 1 pulses (0.22 zl)
Sum: 400 pulses
Time: 17:44:15
Price: 88.00 zl
Daily: 3.26 zl
WARNING!!!
There was 1 crash so the actual pulse count may be higher!
---------------------------------------------------------------------
As you can see, it calculates the cost in "zlotys" using current rates for
telephone connection in Poland. Modifying it to support other
rates/countries is trivial and is left as an exercise for the reader.
And BTW - MiamiLog only understands logfiles containing entries from ONE
month. Yes, I know, but remember - I am not charging money for this stuff. :)
Have fun,
Milek
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
1188 554 53.3% 27-Apr-98 15:31:58 MiamiLog.info
22372 13173 41.1% 27-Apr-98 15:10:48 +MiamiLog
2901 1071 63.0% 27-Apr-98 15:07:40 +MiamiLog.l
3068 1070 65.1% 27-Apr-98 15:30:42 +MiamiLog.readme
95 79 16.8% 01-Mar-98 00:59:20 +SCOPTIONS
-------- ------- ----- --------- --------
29624 15947 46.1% 28-Apr-98 18:14:14 5 files